disable DEBUG_MEM
authorØyvind Kolås <pippin@gimp.org>
Sat, 18 Dec 2010 00:12:01 +0000 (00:12 +0000)
committerØyvind Kolås <pippin@gimp.org>
Sat, 18 Dec 2010 00:13:02 +0000 (00:13 +0000)
This option provides a hit in multithreaded use, and should only be enabled
when debugging babl memory allocation internals.

babl/babl-internal.h

index 1f5fe23e4ee9dc28c3aadc5954feaf4c3f557e7c..da5f923ff2e81649093d1c530c4f3426ed10ccb7 100644 (file)
@@ -233,7 +233,7 @@ babl_fatal (const char *format, ...)
 extern int   babl_hmpf_on_name_lookups;
 extern BablMutex *babl_format_mutex;
 
-#define BABL_DEBUG_MEM 1
+#define BABL_DEBUG_MEM 0
 #if BABL_DEBUG_MEM
 extern BablMutex *babl_debug_mutex;
 #endif